package org.lex.dbq.util;

import java.util.Arrays;
import java.util.Collection;

public class CollectionUtils {
	public static <T> T[] toSort(Collection<T> all) {
		Object[] array = all.toArray();
		Arrays.sort(array);
		return (T[]) array;
	}
}
